home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / cfuncs.zip / DWEDIT.DOC < prev    next >
Text File  |  1991-02-27  |  998b  |  23 lines

  1. /*----------------------dwedit-----------------------------*/
  2. /*             DOUBLE WINDOW EDIT                        */
  3. /*                               */
  4. /*DESCRIPTION: Sets up two windows on the console and        */
  5. /*      allows for data entry in the windows and number       */
  6. /*    checking.                       */
  7. /*                               */
  8. /*INPUT:                                                   */
  9. /*     filename - name for output file               */
  10. /*     width1   - width of window 1               */
  11. /*     width2   - width of window 2               */
  12. /*     length   - length of windows                        */
  13. /*     fcheck1 & fcheck2  - functions that check for a     */
  14. /*          a valid number.  Return 1 for pass, 0    */
  15. /*          for fail.  Passing NULL means no check.  */
  16. /*                               */
  17. /* USES: Frame, OnCursor, OffCursor               */
  18. /*---------------------------------------------------------*/
  19.  
  20. dwedit( char *filename, char action, int width1, int width2,
  21.     int length, int (*fcheck1) (const char *),
  22.     int (*fcheck2) (const char *))
  23.